package nccloud.utils.baseapp;

import nc.bs.pub.util.SysInit;

public class InitParamUtils {
	/**
	 * 获取全局的业务参数设置
	 * @param initCode
	 * @return
	 * @throws Exception
	 */
	public static String getGroupParam(String initCode)  throws Exception{
		return SysInit.getParaString("GLOBLE00000000000000", initCode);
	}
	
	/**
	 * 获取指定组织的的业务参数设置
	 * @param pk_org
	 * @param initCode
	 * @return
	 * @throws Exception
	 */
	public static String getOrgParam(String pk_org,String initCode)  throws Exception{
		return SysInit.getParaString(pk_org, initCode);
	}
}
